<template>
    <div id="series">
        <div>
            <span class="icons first">
                <svg class="icon" aria-hidden="true">
                    <use xlink:href="#icon-days"></use>
                </svg>
            </span>

            <div>
                <span style="font-size: 14px;"><span style="font-size: 25px;">100 </span>天</span>
                <p>运行保障</p>
            </div>
        </div>
        <div>
            <span class="icons second">
                <svg class="icon" aria-hidden="true">
                    <use xlink:href="#icon-circulation"></use>
                </svg>
            </span>

            <div>
                <span>2</span>
                <p>消防子系统</p>
            </div>
        </div>
        <div>
            <span class="icons third">
                <svg class="icon" aria-hidden="true">
                    <use xlink:href="#icon-city"></use>
                </svg>
            </span>

            <div>
                <span>3</span>
                <p>建筑数量</p>
            </div>
        </div>
        <div>
            <span class="icons forth">
                <svg class="icon" aria-hidden="true">
                    <use xlink:href="#icon-area"></use>
                </svg>
            </span>

            <div>
                <span>9</span>
                <p>监测区域</p>
            </div>
        </div>
    </div>
</template>

<script>

</script>

<style scoped lang="less">
#series {
    margin: 0 auto;
    width: 550px;
    height: 100px;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;

    div {
        display: flex;
        justify-content: center;

        .icons {
            display: block;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            text-align: center;
            line-height: 65px;
        }

        .first {
            background-color: rgb(0, 226, 102);
        }

        .second {
            svg {
                width: 50px;
                height: 50px;
            }
        }

        .third {
            background-color: rgb(21, 126, 251);
        }

        .forth {
            background-color: rgb(212, 50, 28);
        }

        div {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: flex-start;
            margin-left: 10px;
            color: #fff;

            p {
                font-size: 12px;
            }

            span {
                font-size: 25px;
            }
        }
    }
}

.icon {
    width: 2em;
    height: 2em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}
</style>